package com.fuchuang.seckillsystem.mapper;

import com.fuchuang.seckillsystem.dto.PreliminarySelectQuery;
import com.fuchuang.seckillsystem.entity.PreliminarySelect;

import java.util.List;

public interface PreliminarySelectMapper {
    
    /**
     * 插入初筛记录
     */
    int insert(PreliminarySelect record);
    
    /**
     * 通过注键查询
     */
    PreliminarySelect selectByPrimaryKey(Integer id);
    
    /**
     * 通过查询条件获取初筛记录
     */
    List<PreliminarySelect> selectByQuery(PreliminarySelectQuery preliminarySelectQuery);
}